home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / langs / j_41_st.zoo / tutorial.zoo / tut / tut16.js < prev    next >
Encoding:
Text File  |  1991-06-06  |  409 b   |  26 lines

  1.              PROGRAMS: simple Ga
  2.    root=. 'y. ^ %2':'y. ^ %x.'
  3.    root 64
  4. 8
  5.    3 root 64
  6. 4
  7.    rPr=. '% y.':'x. + % y.'
  8.    3 rPr 4
  9. 3.25
  10.    rPr / 1 2 2 2 2 2 2
  11. 1.4142
  12.    rPr/ \ 1 2 2 2 2
  13. 1 1.5 1.4 1.41667 1.41379
  14.    rPr/ \ 3 7 15
  15. 3 3.14286 3.14151
  16.    triple=. '3*y.':''
  17.    triple i.5
  18. 0 3 6 9 12
  19.    3 triple 6
  20. domain error
  21.    tr=. '3*y.':*
  22.    tr i. 5
  23. 0 3 6 9 12
  24.    3 5 7 tr i. 3
  25. 0 5 14
  26.